package com.feri.sh.core.entity.auth;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 3.用户表(User)表实体类
 *
 * @author makejava
 * @since 2023-05-10 11:57:30
 */
@Data
@TableName("t_user")
public class User {
    //序号，主键
    @TableId(type = IdType.AUTO)
    private Integer id;
    //用户名
    private String username;
    //手机号
    private String phone;
    //密码
    private String password;
    //标记位1.有效 2.无效
    private Integer flag;
    //创建时间
    private Date ctime;
}
